package router

import (
	"github.com/gin-gonic/gin"
	"service_base_shop_api/goods_web/api"
)

//用户路由
func InitIndexRouter(Router *gin.RouterGroup)  {
	UserRouter := Router.Group("index")
	{

		UserRouter.POST("/get_index",api.GetIndex)
		UserRouter.POST("/get_goods_index",api.GetGoodsIndex)
		UserRouter.POST("/get_category_index",api.GetCategory)
		UserRouter.POST("/get_cate",api.GetCate)
		UserRouter.POST("/get_pro_list",api.GetProList)
		UserRouter.POST("/get_index_list",api.GetIndexList)

	}
}
